package com.Pan.service;


import com.Pan.util.ResponseData;

/**
 * @author jialipan
 * @date 2021-05-24 09:44:19
 */

public interface RetryService {

    /**
     * 标准环境图像识别接口  新老流程自动切换
     *
     * @return
     * @throws InterruptedException
     */
    ResponseData getImageStandardRetry(long time, Integer num, Integer overstock) throws InterruptedException;

    /**
     * 旺旺腾讯云图像识别接口
     *
     * @return
     * @throws InterruptedException
     */
    ResponseData getIdentificationStandardRetry(long time, Integer num) throws InterruptedException;

    /**
     * 统一腾讯云环境图像识别接口  新旧流程自动切换
     *
     * @return
     * @throws InterruptedException
     */
    ResponseData getIdentificationTongYiStandardRetry(long time, Integer num) throws InterruptedException;

    /**
     * 费列罗手动回调接口
     *
     * @return
     * @throws InterruptedException
     */
    ResponseData getFerreroCallback(long time) throws InterruptedException;

    /**
     * 标准环境新流程
     *
     * @param time
     * @param retry
     * @return
     * @throws InterruptedException
     */
    ResponseData getNewStandardRetry(long time, Boolean retry) throws InterruptedException;

    /**
     * 新流程 旺旺腾讯云环境重跑
     *
     * @return
     * @throws InterruptedException
     */
    ResponseData getTencentRetry(long time, Boolean retry) throws InterruptedException;

    /**
     * 新流程 旺旺腾讯云环境重跑
     *
     * @return
     * @throws InterruptedException
     */
    ResponseData getDcsRetry(long time) throws InterruptedException;

    /**
     * uat环境重跑
     *
     * @param time
     * @param num
     * @return
     */
    ResponseData uatIdentification(long time, long num);

    /**
     * Epsilon环境API重跑
     * @param time
     * @param retry
     * @return
     */
    ResponseData getEpsilonRetry(long time, Boolean retry);
}
